//
//  Book.h
//  OC1_类和对象课后作业
//
//  Created by dllo on 15/10/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Book : NSObject

{

    @public
    NSString *_name;
    CGFloat _price;

}

-(void)info;

-(void)sale;


-(NSString *)name;

-(void)setName:(NSString *)name;

-(CGFloat)price;

-(void)setPrice:(CGFloat)price;

-(id)initWithName:(NSString *)name price:(CGFloat)price;


+ (id)bookWithName:(NSString *)name price:(CGFloat)price;


@end
